package com.vhall.component.service.room;

import com.vhall.component.entity.room.entity.InvestRefEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.vhall.component.entity.room.vo.AddInvestRefVO;
import com.vhall.component.entity.room.vo.InvestRefRequestVO;
import com.vhall.component.entity.room.vo.InvestRefResponseVO;
import com.vhall.component.entity.room.vo.RoomInvestRefRelationListRequestVO;

import java.util.List;

/**
* @author xing.wang
* @description 针对表【invest_ref(投资依据表)】的数据库操作Service
* @createDate 2023-08-08 09:53:58
*/
public interface InvestRefService extends IService<InvestRefEntity> {
    /**
     * 获取国信的投资依据list
     * @param vo
     * @return
     */
    List<InvestRefResponseVO> getGuoXinInvestRefList(InvestRefRequestVO vo);

    /**
     * 创建投资依据
     * @param vo
     * @return
     */
    Boolean addInvestRef(AddInvestRefVO vo);

    /**
     * 获取和房间/草稿关联的投资依据
     * @param vo
     * @return
     */
    List<InvestRefResponseVO> getRoomInvestRefRelationList(RoomInvestRefRelationListRequestVO vo);
}
